#include <iostream>
#include "iBe.h"

Database::Database()
{
  database = NULL;
}

Database::~Database()
{
  if (database)
    sqlite3_close(database);
}

bool Database::open(const char* _filename)
{
  if ( sqlite3_open(_filename, &database) == SQLITE_OK ) 
    return true;

  return false;
}

